// 获取手机状态栏高度，对自定义bar做适配
exports.getStatusBarHeight = () => {
  const {statusBarHeight} = wx.getSystemInfoSync()
  return (statusBarHeight + wx.getMenuButtonBoundingClientRect().top) / 2
}